Ranges and Breakouts [AlgoAlpha]💥 Ranges and Breakouts by AlgoAlpha is a dynamic indicator designed for traders seeking to identify market ranges and capitalize on breakout opportunities. This tool automatically detects ranges based on price action over a specified period, visualizing these ranges with shaded boxes and midlines, making it easy to spot potential breakout scenarios. The indicator includes advanced features such as customizable pivot detection, internal range allowance, and automatic trend color changes for quick market analysis.
Key Features
💹 Dynamic Range Detection : Automatically identifies market ranges using customizable look-back and confirmation periods.
🎯 Breakout Alerts : Get alerted to bullish and bearish breakouts for potential trading opportunities.
📊 Visual Aids : Displays pivot highs/lows within ranges and plots midlines with adjustable styles for easier market trend interpretation.
🔔 Alerts : Signals potential take-profit points based on volatility and moving average crossovers.
🎨 Customizable Appearance : Choose between solid, dashed, or dotted lines for midlines and adjust the colors for bullish and bearish zones.
How to Use
⭐ Add the Indicator : Add the indicator to favorites by pressing the star icon. Adjust the settings like the look-back period, confirmation length, and pivot detection to match your trading strategy.
👀 Monitor the Chart : Watch for new ranges to form, highlighted by shaded boxes on the chart. Midlines and range bounds will appear to help you gauge potential breakout points.
⚡ React to Breakouts : Pay attention to color changes and alert signals for bullish or bearish breakouts. Use these signals to enter or exit trades.
🔔 Set Alerts : Customize alert conditions for new range formations, breakout signals, and take-profit levels to stay on top of market movements without constant monitoring.
How It Works
The indicator detects price ranges by analyzing the highest and lowest prices over a specified period. It confirms a range if these levels remain unchanged for a set number of bars, at which point it visually marks the range with shaded boxes. Pivots are identified within these ranges, and a midline is plotted to help interpret potential breakouts. When price breaks out of these defined ranges, the indicator changes the chart's background color to signal a bullish or bearish trend. Alerts can be set for range formation, breakouts, and take-profit opportunities, helping traders stay proactive in volatile markets.
Komut dosyalarını "moving average crossover" için ara
Ranging Market Detector [AstrideUnicorn]Determining if the market is in a trend or a range regime is a very complex problem. And knowing the answer can be, in some situations, the real holy grail. If the trader knows when the market is in a range regime, they can avoid overtrading and make moving average crossover strategies more profitable. A regime switch from a trend to a range can be a signal to close open positions. It can also be helpful when trading such instruments as short-term binary options. When the market is ranging directional moves are not expected, and the trader should be careful as opening a position in such conditions is, by some degree, a random outcome game. Range breakouts trading is one more example when knowing the market regime is critical.
We have created an indicator that predicts the current market regime. It smooths the price using the Kalman filter and analyzes the curve's slope. If the absolute value of the slope is low, then the market is in range mode and vice versa. To distinguish between the two regimes, the algorithm compares the absolute value of the slope with its long-term average.
HOW TO USE
The indicator shows the difference between the absolute slope value and its long-term average as a histogram. When a bar of the histogram is higher than the threshold level presented by the red line, the market is in a trending regime. In this regime, the background of the indicator is blue. When the market is in a range regime, the indicator background turns red.
The threshold level helps to control the lag. The greater it is, the more lagging the indicator will be. By default, this value is set to a negative value. It means that the indicator switches from range to trend a little bit earlier than the slope gets higher than the average slope. You can use the value of zero or low negative values to find the optimal tradeoff between the strength of the signals and their lag.
SETTINGS
The indicator has one input parameter called Threshold. It sets the threshold level described above. Its value should be close to zero. The less the value is, the less is the indicator's lag, but at the same time, the less confirmed the regime-switching signals are.
The use cases can be very different. And as the code is open, you can also use the indicator as a building block for your custom trading strategies.
Let us know your thoughts and suggestions!
Double Top/Bottom V2This is an enhanced version of Double Top/Bottom detector.
Initial basic version can be found here:
Concept of deriving pattern is similar but there are few major changes.
Double Top:
Get the highest pivot high from last X pivot highs ( DTHigh1 )
Look for next top most pivot high which happened after DTHigh1 ( DTHigh2 )
Look for lowest pivot low between DTHigh1 and DTHigh2 ( DTLow )
Double Bottom:
Get the lowest pivot low from last X pivot lows ( DBLow1 )
Look for next lowest pivot low which happened after DBLow1 ( DBLow2 )
Look for highest pivot high between DBLow1 and DBLow2 ( DbHigh )
Other Key parameters:
checkForAbsolutePeaks and absolutePeakLoopback work together. When selected, double top and double bottom is formed only if DTHigh1 / DBLow1 are highest/lowest points from last absolutePeakLoopback bars back.
considerPivotDistance will make sure distance between Highs(in double top) and lows(in double bottom) are below 2 ( MaxAtrDistanceBase ) times ATR. And distance between average Highs/Lows to Low/High forming triangle is less than 6 ( MaxAtrDistanceHighLow ) times ATR. This will avoid showing steep triangles as double top/bottoms.
showLastLevels option allows users to display dashed lines on double top/bottom confirmation and invalidation levels for last formed double bottom and tops. These can be treated as strong support and resistence. Dashed lines are permanently formed on double top/bottom setups when an invalidation or confirmation occurs by price crossing either lowest or highest points of double top/bottom triangles.
Alerts:
Probable double top/bottom - when double top or bottom triangles formed.
Double top/bottom confirmation - when double top or bottom is confirmed.
Double top/bottom invalidation - when double top or bottom is invalidated.
Few important points about adjusting parameters:
Lower pivot lengths will generate more signals. But, too frequent signals may not be desirable as well.
higher absolutePeakLoopback will reduce number of signals while strengthening them.
Unchecking consider pivot distance or reducing MaxAtrDistanceBase/MaxAtrDistanceHighLow may considerably increase the number of pivots specially when pivot lengths are lower side. This may result in reduced quality of signals as well.
Moving average condition which is part of basic script is not included in this. We can add Hull Suite or moving average crossover on the chart as confirmation of strong signal.
unRekt - The MachineThis is a combined script of Welcome to the Machine and Kiss Cross. A moving average crossover was added with the golden cross '50 n 200' being most noticeable.
Up to 5 editable moving averages can be selected on their own or all displayed with varying type of your choice SMA, EMA, WMA, VWMA and LSMA.
Bollinger bands can be disabled to just show the moving average.
Image of bollinger bands off:
RSI EMA CrossOver RameshThe RSI is one of the most popular technical indicators. The RSI measures the internal strength of the security. The RSI indicator oscillates between oversold and over bought levels, where a trader is advised to look for buying opportunities when the stock is in over sold region and selling opportunities when the stock is in over bought region.
The RSI with EMA strategy signals a trade when EMA of 7 period RSI crosses over the EMA of a 14 period RSI.
Buy: when 10 EMA of 7 period RSI crossing up 10 EMA of a 14 period RSI
Sell: when 10 EMA of 7 period RSI crossing down 10 EMA of a 14 period RSI
EMA = Exponential Moving Average
Crossover = Simple crossover between current RSI values and its 10 day EMA
Trend Persistence Rate Indicator [CC]The Trend Persistence Rate Indicator was created by Richard Poster (Stocks and Commodities Feb 2021 pg 12) and this indicator is a good trend strength indicator similar to ADX. A good strategy with this indicator according to the author is to combine this with a moving average crossover strategy and a volatility indicator. Buy when the price crosses over the moving average and when the volatility and this indicator are over a selected minimum. I think 30-40 as a minimum for this indicator works well. Exit that position when this indicator peaks and starts to go down and it should be very profitable for you. I have included general buy and sell signals with this indicator as well.
Let me know if there are any other indicators you would like to see me publish!
Smoothed Relative Volatility Index W/2 EMAThis script is a reboot of the relative volatility index that adds a smoothing factor to the indicator which eliminates a significant amount of the noise/signal ratio.
The relative volatility index is defined as the following from tradingism.com:
"Relative Volatility Index Definition
The relative volatility index (RVI) was developed by Donald Dorsey, who truly understood that an indicator is not the holy grail of trading. The RVI is identical to the relative strength index , except it measures the standard deviation of high and low prices over a defined range of periods. The RVI can range from 0 to 100 and unlike many indicators that measure price movement, the RVI does an exceptional job of measuring market strength.
Purpose of Relative Volatility Index
The relative volatility index was designed not as a standalone indicator, but as a confirmation for trading signals. The RVI is most widely used in conjunction with moving average crossover signals."
The rules of the RVI are to sell below the 50 line and buy above the 50 line. The 2 EMA's I added act as a "dynamic" 50 line and also provide crossover signals.
The smoothed relative volatility index included, is accompanied by the original relative volatility index as an option with its own EMA's.
The smoothing factor provides divergence signals and/or an added layer of confirmation from other indicators.
On the chart above is the smoothed relative volatility index above the original set to the same time period for comparison.
Buying vs Selling PowerThis is a simple script that can help identify buying and selling pressure over a period of time.
This is a great addition to any strategy to help confirm direction and strength. You can accompany this indicator with something as simple as a moving average crossover or MACD crossover to help with confirmation of the signal as you want to trade in the direction of volume.
Volume Brakeout v1Volume Brakout indicator is used to help determine trend direction strictly based on Negative and Positive volume data.
How to Read:
- Moving Average crossovers are used to help determine a possible trend change or retracement.
- The area cloud on the bottom is calculated by the difference of the moving averages. This could be used to help determine the trending volume strength.
- Bright colored volume bars are large volume spikes calculated by the x factor in the options.
Other changes:
- Volume Depth is going open source with numerous of its indicators. This is only one of many!
- Volume is now displayed without being altered for calculations.
LT Pro-Divergence 2.0This indicator can visually show the divergences on the chart – i.e. a divergence between price action and the momentum. So for example, when price makes a new low and the momentum does not make a new low, this is often a “bullish” divergence – indicating that the force of the downtrend could be weakening. Similarly, when the price makes a new high but the momentum does not make a new high, this is often a “bearish” divergence – indicating that the force of the uptrend could be weakening. Typically, trend reversals are often preceded by a divergence (although it is possible for price to change trend without a prior divergence). We can use divergence as an advance warning of when price may potentially change direction – whether a change in the trend direction or just a correction (or pullback).
It is possible for a divergence to be “negated” – which happens when price continues to move in its direction (i.e. in the direction of the major trend) despite a divergence. So often price can negate a divergence (e.g. a bullish or bearish divergence). This can happen quite a lot in strong trends with momentum.
Due to the numerous divergences that can occur on charts (often with many false signals or whipsaws) – it can be better to use divergence in combination with other technical analysis methods to increase the probabilities. For example, combining divergence with other trend reversal chart techniques such as: trendline breaks, moving average crossovers, break of support or resistance, or oscillators like MACD or RSI etc.
The red divergence colour can indicate a potential bullish divergence, blue divergence colour can indicate a potential bearish divergence. The indicator can also warn of potential divergences developing – so a magenta warning can indicate a potential bullish divergence and a yellow/orange warning of a potential bearish divergence.
The pro divergence indicator incorporates green and blue dots to show when RSI and stochastics is oversold or overbought. The RSI overbought/oversold is shown as dark blue dots – and the stochastics overbought/oversold is shown as green dots. This is added as an extra feature to add further information to the divergence signal. The momentum used in the indicator is the MACD.
The indicator can be used on the charts of the majority of markets (e.g. stocks, indices, ETFs, currencies, cryptocurrencies, precious metals, commodities etc.) and any timeframe. It should be noted that the degree of noise and randomness increases significantly on lower timeframes. So the lower the timeframe that is chosen (e.g. 15-min or lower) the greater the degree of noise and randomness and therefore the higher the frequency of false signals or whipsaws.
Chartists should be aware of the probabilistic and uncertain nature of price action and the markets, and therefore prepare to limit and control any potential risks.
If you would like access, please send me a PM on Tradingview.
LT Pro-Divergence 2.0 ChartThis indicator can visually show the divergences on the chart – i.e. a divergence between price action and the momentum. So for example, when price makes a new low and the momentum does not make a new low, this is often a “bullish” divergence – indicating that the force of the downtrend could be weakening. Similarly, when the price makes a new high but the momentum does not make a new high, this is often a “bearish” divergence – indicating that the force of the uptrend could be weakening. Typically, trend reversals are often preceded by a divergence (although it is possible for price to change trend without a prior divergence). We can use divergence as an advance warning of when price may potentially change direction – whether a change in the trend direction or just a correction (or pullback).
It is possible for a divergence to be “negated” – which happens when price continues to move in its direction (i.e. in the direction of the major trend) despite a divergence. So often price can negate a divergence (e.g. a bullish or bearish divergence). This can happen quite a lot in strong trends with momentum.
Due to the numerous divergences that can occur on charts (often with many false signals or whipsaws) – it can be better to use divergence in combination with other technical analysis methods to increase the probabilities. For example, combining divergence with other trend reversal chart techniques such as: trendline breaks, moving average crossovers, break of support or resistance, or oscillators like MACD or RSI etc.
The red divergence colour can indicate a potential bullish divergence, blue divergence colour can indicate a potential bearish divergence. The indicator can also warn of potential divergences developing – so a magenta warning can indicate a potential bullish divergence and a yellow/orange warning of a potential bearish divergence.
The pro divergence indicator incorporates green and blue dots to show when RSI and stochastics is oversold or overbought. The RSI overbought/oversold is shown as dark blue dots – and the stochastics overbought/oversold is shown as green dots. This is added as an extra feature to add further information to the divergence signal. The momentum used in the indicator is the MACD.
The indicator can be used on the charts of the majority of markets (e.g. stocks, indices, ETFs, currencies, cryptocurrencies, precious metals, commodities etc.) and any timeframe. It should be noted that the degree of noise and randomness increases significantly on lower timeframes. So the lower the timeframe that is chosen (e.g. 15-min or lower) the greater the degree of noise and randomness and therefore the higher the frequency of false signals or whipsaws.
Chartists should be aware of the probabilistic and uncertain nature of price action and the markets, and therefore prepare to limit and control any potential risks.
If you would like access, please send me a PM on Tradingview.
SPX-VIX Intraday DivergenceAs a long-term buyer/short-seller, you will always find different ways to enter the market , moving average crossovers, breakouts , overbought/oversold conditions being some of the classy methods. However, they are decreasingly effective... 😢
Recently I have realized that analysis beyond the technical indicators will bring trading to the next level because I will be able to confirm my trading signals without relying too much on basic price actions and patterns which are easily manipulated by big banks and institutions. 👍
Today I will introduce you to my divergence indicator making use of SPX and VIX. Unlike MacD or RSI divegence , which would involve normative judgement , it will take account of the unusual move by SPX alongwith the VIX , to the exploit chances that options market, where most experienced investors participated in has a preceding insight into the equity market about the upcoming moves.
I have divided signals into two groups.
Bullish divergence - SPX Down , VIX also Down 👇
Bearish divergence - SPX Up , VIX also Up 👆
I hope this script will enable us to take advantage of the options market activities , to provide a REAL divergence signal, and be used coupled with our own chart patterns or other price signals, and more importantly to score more and more winning trades!!!
If you want more useful scripts from me, please like and share my posts. And don't forget to follow my account to grab the latest ideas and tools! 😘
Lowkey System (Study)View strategy version
A long-only strategy that aim to detect the beginning of new bullish trends and their ends.
For entering a new position this script is waiting for a moving average crossover then wait for a volume increase relative to the current volatility.
For closing a position it's simply waiting for a crossunder of whether the MA or if enabled the stop loss.
This strategy is already configured to run on BTCUSD in a 4h timeframe but you can customize the moving average and the stop loss parameters to suit your needs.
I've worked a lot to write this script so I'm not giving it for free but you can try it for 10 days.
Contact me for more details.
Have fun!
PS: I'm french so please excuse me if I've made some grammar errors ;)
JM Momentum Moving Average CrossoverReuploaded.
Some people complained about noisy signals from previous gainzy inspired intraday indicator so have designed this one to be more robust. Is pretty good at capturing early trend changes in momentum. Have not backtested yet. Recommended for lower time frames, 1 hour and under, I like 45m.
How it works?
____________
Using custom fast and slow momentum factors it is simply a crossover of the two.
How to use?
____________
Wait for closing bar, if BUY signal is printed, momentum is trending upwards so longs are favoured. If SELL signal is printed, shorts are favored.
Volume Flow v3DepthHouse Volume Flow indicator is used to help determine trend direction strictly based on Negative and Positive volume data.
How to Read:
- Moving Average crossovers are used to help determine a possible trend change or retracement.
- The area cloud on the bottom is calculated by the difference of the moving averages. This could be used to help determine the trending volume strength.
- Bright colored volume bars are large volume spikes calculated by the x factor in the options.
Other changes:
- DepthHouse is going open source with numerous of its indicators. This is only one of many!
- Volume is now displayed without being altered for calculations.
SSL [dasanc]The SSL is a fair entry condition and good exit indicator. It works best when combined with a trend indicator and multiple confirmations.
In essence, the SSL is a moving average crossover, which immediately down-grades it to a 2nd or 3rd level of confluence in my opinion.
It was recently featured in an episode of VP's "No Nonsense FX", which drove me to recreate the original MT4 indicator in PineScript.
I have two ideas on how to improve it -
Use a much faster moving average calculation method (check out my Ehlers scripts)
Use a longer period MA on lower timeframes
If you enjoy/use this script, drop me a follow and please note me in your code!
I'm *almost* always available for collabs and questions
(JS) Moving Average Secuirty OscillatorThis is kind of like the Moving Average Crossover Oscillator - except this measures in % the distance between the security you're charting and the MA you have entered in.
The goal is to see when the price pulls too far from the MA.
Hope you like it!
Triple Moving Average Crossover IndicatorGo Long as the fastMA crosses above the slowMA (All Green Fill)
Go Short as the fastMA crosses below and other MA (Red)
Prep for next movement when the fill colours are mixed together.
Back this up with volume and momentum indicators.
I'm currently working on turning this into a strategy.
Please let me know what you think, as this is my first indicator.
TUX CandlesThis indicator has a lot of information. This is the first version so stay tuned for updates, and please let me know of any bugs.
Candlestick Indicators:
Doji
Shooting Star
Evening Star
Hammer
Hanging Man
Candlestick Formations
Tri-star
Bearish Harami
Bullish Harami
Bearish Harami Cross
Bullish Harami Cross
Bullish Engulfing
Bearish Engulfing
Rising Three
Falling Three
Bearish Abandoned Baby
Bullish Abandoned Baby
Three Black Crows
Three White Soldiers
Technical Indicators:
(You can set you MA periods)
Moving Average Cross
Move Average Crossover
Stop Loss & Take Profit For Overlay Indicators[LePasha] Stop Loss & Take Profit For Overlay Indicators
This indicator helps traders easily visualize Stop Loss (SL) and Take Profit (TP) levels based on custom buy and sell signals from any overlay indicators or price-based sources.
Key Features:
Accepts buy and sell signals from any indicator or price source on your chart.
Automatically calculates SL and TP levels using ATR-based volatility for dynamic risk management.
Allows customization of capital, risk percentage per trade, and reward-to-risk ratio.
Displays clear colored boxes on the chart showing potential profit and loss zones.
Calculates position size and required leverage based on your risk settings.
Designed to work with your preferred strategies by simply connecting signal inputs.
Helps you visually manage trades with precise risk control and reward targets.
How to Use:
Connect your buy and sell signals (e.g., from Moving Average crossovers, custom scripts, or price levels) to the indicator’s inputs.
Adjust risk settings to fit your trading style (capital, risk %, reward ratio).
Watch as the indicator draws TP and SL zones on your chart when signals occur.
Use this information to set stops and targets in your trades confidently.
Perfect for traders who want simple, clear, and reliable trade management visuals based on their own strategy signals.
InspireHER Dynamic EMA RR Positioning IndicatorDynamic EMA and RR Positioning Indicator
This indicator is designed to provide traders with highly customizable buy and sell signals based on EMA (Exponential Moving Average) crossovers and Risk-to-Reward (RR) ratios. It works on any timeframe and allows users to toggle price data and additional position boxes for visualizing trade setups. Additionally, traders can choose between displaying dots or labeled signals for buy/sell indicators, making this tool versatile and user-friendly for different preferences and strategies.
What Makes This Indicator Unique
Customizable Parameters: The script offers extensive options for tailoring the indicator to your preferred trading style and strategy:
EMA: Configurable through settings (default is a 21-period EMA).
Risk-to-Reward Ratio (RR): Adjustable to meet your desired RR levels (default is 1:2.5).
Lookback Period: Visualizes buy/sell signals over the last six months.
Position Boxes for Trade Visualization: The indicator can "draw" position boxes on the chart, showing potential entry points, stop-loss (SL), and take-profit (TP) levels based on the selected RR. These visual aids simplify decision-making and help evaluate trade opportunities directly on the chart.
Price Data Toggle: Traders can choose to view or hide price data related to trade signals, including TP, SL, and RR values. By default, this is turned off to maintain a clean chart but can be activated when needed.
Flexible Signal Display Options:
Dots Mode: Displays buy signals as green dots and sell signals as red dots on the chart.
Label Mode: Displays buy signals as labels with the word "Buy" in green and sell signals as labels with the word "Sell" in red.
This toggle allows traders to customize how signals are displayed for a more personalized trading experience.
Simple Signal View: A toggle option provides a cleaner chart by enabling or disabling additional visual elements like circles or labels.
How It Works
Buy Signal: Triggered when the price crosses the EMA and closes above it.
Entry: Top of the candle.
Stop-Loss: Bottom of the candle.
Take-Profit: Calculated based on the selected RR.
Sell Signal: Triggered when the price crosses the EMA and closes below it.
Entry: Bottom of the candle.
Stop-Loss: Top of the candle.
Take-Profit: Calculated based on the selected RR.
Default Settings
EMA: 21-period.
Risk-to-Reward Ratio: 1:2.5.
Price Data: Off (can be toggled on in settings).
Position Boxes: Off (can be toggled on in settings).
Signal Display: Labels mode with "Buy" (green) and "Sell" (red) enabled by default; can be toggled to Dots mode.
Timeframe: Any timeframe supported.
How to Use
Add the Indicator to Your Chart: Once applied, the EMA line and buy/sell signals will appear by default.
Customize Settings: Navigate to the indicator's settings to adjust EMA, RR, or enable/disable Price Data, Position Boxes, or switch between Dots and Label modes.
Trade with Confidence: Use the visual aids and signals to assess trade opportunities based on your strategy and timeframe.
This indicator combines the reliability of EMA-based signals with the flexibility of configurable RR, visual trade setups, and multiple signal display options, making it a powerful tool for all types of traders. Happy Trading!!